<?php
declare (strict_types = 1);

namespace app\api\model;

use app\common\model\Api;
use think\Model;

/**
 * @mixin think\Model
 */
class BusinessPostComment extends Api
{
    public function business()
    {
        return $this->belongsTo('business');
    }
    public function pBusiness()
    {
        return $this->belongsTo('business','p_id');
    }
}